package com.team.recruitment_management_system.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.team.recruitment_management_system.pojo.dto.role.RolePageQuery;
import com.team.recruitment_management_system.pojo.entity.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.team.recruitment_management_system.pojo.vo.OptionVo;
import com.team.recruitment_management_system.pojo.vo.RoleInfoVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 86147
* @description 针对表【sys_role(角色表)】的数据库操作Mapper
* @createDate 2024-03-21 20:28:40
* @Entity com.team.recruitment_management_system.pojo.entity.SysRole
*/
@Mapper
public interface SysRoleMapper extends BaseMapper<SysRole> {

    IPage<RoleInfoVo> getRolePage(Page<SysRole> rolePage, RolePageQuery pageQuery);

    List<OptionVo> getRoleOptions();
}




